package org.dromara.system.domain.bo;

import org.dromara.system.domain.SysUserLotteryConfig;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.system.domain.common.BasePageReqDTO;

import java.math.BigDecimal;

/**
 * 抽奖配置业务对象 sys_user_lottery_config
 *
 * @author Lion Li
 * @date 2025-07-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysUserLotteryConfig.class, reverseConvertGenerate = false)
public class SysUserLotteryConfigBo extends BasePageReqDTO {

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 步数
     */
    @NotNull(message = "步数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer step;

    /**
     * 奖励金额
     */
    @NotNull(message = "奖励金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal rewards;

    /**
     * 备注
     */
    private String remark;


    private String userName;


}
